package cn.interestingshop.service;

import cn.interestingshop.utils.MyBatisUtil;
import org.apache.ibatis.session.SqlSession;

/**
 * @Description TODO
 * @Author com.com.hyl
 * @Date 2022/9/3 9:59
 **/
public class BaseService {
	public SqlSession getSqlSession(){
		return MyBatisUtil.getSqlSession();
	}

	public void close(SqlSession sqlSession){
		MyBatisUtil.closeSqlSession(sqlSession);
	}
}
